package it.polimi.registration.business.security.entity;

import java.io.Serializable;

import javax.persistence.Entity;

@Entity
public class Canceled extends Notification implements Serializable {

	private static final long serialVersionUID = 1L;

	private String reason;
	
	public Canceled() {
		
	}
	
	public Canceled(Event event, User owner, String reason) {
		super(event, owner);
		this.reason = reason;
	}

	public String getReason() {
		return reason;
	}

}
